<%@ Reference Page="~/blog.aspx" %>
<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.Migrated_members" ValidateRequest="false" CodeFile="members.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td align="center"  colspan="3">
				<table height="100%" cellSpacing="0" cellPadding="0" width="769" align="center" border="0">
					<tr>
						<td class="page_title"><%=memberName%></b></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="3"><img src="images/spacer.gif" width="1" height="2"/></td>
		</tr>
		<tr>
			<td vAlign="top" align="right" height="100%" class="small">
				<!-- User profile -->
				<table cellSpacing="0" cellPadding="0" width="340" border="0" class="member_table_border_transparent">
					<tr>
						<td>
							<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="member_content">
								<tr>
									<td vAlign="top" width="80"><asp:image id="imgMember" runat="server" CssClass="welcome_image"></asp:image></td>
									<td vAlign="top" align="center" class="member_main_text"><asp:image id="imgOnlineImage" runat="server" ImageUrl="../images/online_status.gif"></asp:image><br>
									<asp:Label id="lblMemberSinceText" runat=server>Member since</asp:label>
									<asp:label id="lblMemberSince" runat="server">Label</asp:label>.
									<br>
									<br>
									<asp:label id="lblLastLogin" runat=server>Last login</asp:label>
									<asp:label id="lblLastLoginDate" runat="server">Label</asp:label>.</td>
								</tr>
								<tr>
									<td colSpan="2" class="member_main_text"><asp:hyperlink id="hlPhotos" runat="server" Font-Bold="True"></asp:hyperlink></td>
								</tr>
								<tr>
									<td colspan="2" class="small" height="10">&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<br/><img src="images/spacer.gif" width="1" height="3"><br/>
				<table cellSpacing="0" cellPadding="0" width="340" border="0" class="member_table_border_transparent">				
					<tr>
						<td vAlign="top" class="member_favourite_content">
							<img src="images/add_friends.gif" align="absmiddle"> <asp:hyperlink id="hlAddToFriends" runat="server" Font-Bold="True">Add to Friends</asp:hyperlink>
							<br>
							<img src="images/add_favourites.gif" align="absmiddle"> 
							<asp:hyperlink id="hlAddToFav" runat="server" NavigateUrl="../add_to_favorites.aspx" Font-Bold="True">Add to Favourites</asp:hyperlink>
							<br>
							<img src="images/send_message.gif" align="absmiddle"> <asp:hyperlink id="hlSendMessage" runat="server" NavigateUrl="../send_message.aspx"  Font-Bold="True">Send a Message</asp:hyperlink>
							<br>
							<img src="images/forwardto_friend.gif" align="absmiddle"> <asp:hyperlink id="hlForwardToFriend" runat="server" NavigateUrl="../#"   Font-Bold="True">Forward to a Friend</asp:hyperlink>
							<!--<br>
							<asp:hyperlink id="hlAddComment" runat="server">Add Comments</asp:hyperlink>-->
							<br>
							<img src="images/block_user.gif" align="absmiddle">
							<asp:hyperlink id="hlBlockUser" runat="server" NavigateUrl="../block_user.aspx"   Font-Bold="True">Block User</asp:hyperlink>
							<br>
						</td>
					</tr>
				</table>
				<!-- End User profile -->				
				<asp:table id="tblAdminLinks" runat="server" cssclass="notes_transparent" width="340" CellSpacing="1" CellPadding="6"></asp:table>
				<img src="images/spacer.gif" width="100%" height="5">
				<table cellSpacing="0" cellPadding="0" width="340" border="0">
					<!-- User Inbox  -->				
					<tr>
						<td class="member_page_title_in"><span class="break_name"><%=memberNameOwner%></span> <asp:Label id="lblProfile" runat="server">Profile</asp:Label></b></td>
					</tr>
					<tr>
						<td class="member_page_subtitle"><asp:Label id="lblAbout" runat="server">About</asp:Label> <%=memberName%></td></tr>
					<tr>
						<td>
							<asp:table id="tblUserDetails" runat="server" CssClass="member_about_table" CellSpacing="0" CellPadding="4" Width="340px"></asp:table></td>
					</tr>
				</table>
				<img src="images/spacer.gif" width="100%" height="5">
				<table cellSpacing="0" cellPadding="0" width="340" border="0" class="member_table_border_transparent" id="tblGroups" runat=server>				
					<tr>
						<td class="member_title_group" vAlign="middle"><%=memberNameOwner%> <asp:Label id="lblGroups" runat="server">Groups</asp:Label></td>
					</tr>
					<tr>
						<td class="member_groups"><asp:Label runat="server" id="lblGroup"></asp:Label></td></tr>
				</table>
			</td>
			<td class="small" width="10">&nbsp;</td>
			<td vAlign="top" height="100%" align="left">				
				<table height="100%" cellSpacing="0" cellPadding="0" width="419" border="0">
					<tr>
						<td class="small" align="left" vAlign="top">
							<table cellSpacing="0" cellPadding="0" width="419" border="0" class="member_connected">
								<!--<tr>
									<td id="table_orange"  class="headline_titles">Headline Titles goes here. 18238973 827921874 19847 912847 912874328974 892q743892742987</td>
								</tr>
								<tr> 
									<td class="violet_white"><%=memberNameOwner%>'s URL: <asp:hyperlink id="hlURL" runat=server cssclass="url" navigateurl="../messages_sent.aspx">www.2bmates.com/ww</asp:hyperlink></td>
								</tr>-->
								<tr> 
									<td><asp:Label id="lblHowConnected" runat=server cssclass="member_connected_text">How you are connected:</asp:label> <asp:label id="lblFriendshipPath" runat="server" cssclass="member_connected_friends">This user is not in your circle of friends.</asp:label></td>
								</tr>
							</table>
							<img src="images/spacer.gif" width="100%" height="5">
							<table cellSpacing="0" cellPadding="0" width="419" border="0">								
								<tr>
									<td valign="top" align="center">
										<table cellSpacing="0" cellPadding="0" class="member_page_title_in" width="419" border="0" height="21">
											<tr>
												<td align="left" width="250"><span class="break_name"><%=memberNameOwner%></span> <asp:label id="lblLatestBlogEntries" runat="server">Latest Blog Entries</asp:label></td>
												<td align="right" valign="top" class="member_page_title_in"><asp:hyperlink id="hlAllBlog" runat="server">View All Blog Entries &gt;</asp:hyperlink>&nbsp;</td>
											</tr>
										</table>
									</td>
								</tr>																		
								<tr>
									<td align="center">
										<table cellSpacing="0" cellPadding="0" width="419" border="0" class="member_table_border_transparent">																					
											<tr>
												<td vAlign="top" align="left">
													<asp:datagrid id="dgBlog" runat="server" CellPadding="8" Width="417" AutoGenerateColumns="False" GridLines="None" PageSize="5">
														<ItemStyle CssClass="members_data_grid" VerticalAlign="Top"></ItemStyle>
														<HeaderStyle CssClass="data_grid_header"></HeaderStyle>
														<Columns>
															<asp:BoundColumn DataField="Date" HeaderText="Date"></asp:BoundColumn>
															<asp:TemplateColumn HeaderText="Blog">
																<itemstyle cssclass="padding_right"></itemstyle>
																<ItemTemplate>
																	<asp:HyperLink id=Hyperlink2 runat="server" CssClass="member_main_text" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "ViewMsgURL") %>'>
																		<%# DataBinder.Eval(Container.DataItem, "Subject") %></asp:HyperLink>
																</ItemTemplate>
															</asp:TemplateColumn>
														</Columns>
														<PagerStyle VerticalAlign="Top" Visible="False" HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
													</asp:datagrid>
												</td>
											</tr>
											<tr>
												<td><img src="images/spacer.gif" width="1" height="4"/></td>
											</tr>
											<tr>
												<td class="member_main_text"><asp:label id="lblEmptyBlog" runat="server" Visible="False"><br>Blog is empty.</asp:label><img src="images/spacer.gif" width="100%" height="1"></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="small"><img src="images/spacer.gif" width="100%" height="5"></td>
								</tr>
							</table>
							<table cellSpacing="0" cellPadding="0" border="0">	
								<tr>
									<td valign="top" align="left">
										<table cellSpacing="0" cellPadding="0" width="419" border="0">
											<tr>
												<td class="member_page_title_in"><asp:label id="lblAboutSecond" runat="server">About</asp:label> <%=memberName%></td>
											</tr>
											<tr>
												<td valign="top">
													<table cellpadding="0" cellspacing="0" border="0" width="419" class="member_table_border_transparent">
														<tr>
															<td class="member_main_text"><div class="member_right_padding">
																<asp:label id="lblAboutMe" runat="server"></asp:label><pre wrap style="WORD-WRAP:break-word; margin:0px;"><asp:label id="lblAboutMeValue" runat="server"></asp:label></pre>
																<br /><asp:label id="lblMeet" runat="server"></asp:label>
																<pre wrap style="WORD-WRAP:break-word;margin:0px;"><asp:label id="lblMeetValue" runat="server"></asp:label></pre>
															</div>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="small"><img src="images/spacer.gif" width="100%" height="5"></td>
								</tr>
								<tr id="trSongs" runat="server">
										<td valign="top" align="left">
											<table cellSpacing="0" cellPadding="0" width="419" border="0">
												<tr>
													<td class="member_page_title_in"><asp:Label id="lblLive" runat=server>Live</asp:label> <IMG src="images/both.gif" align="center" alt="Live"></td>
												</tr>
												<tr>
													<td>
														<table class="member_table_border_transparent" border="0" cellpadding="0" cellspacing="0" width="419">								
															<tr>
																<td><div class="member_right_padding">
																	<asp:hyperlink id="hlSongName1" runat="server"></asp:hyperlink>
																	<asp:hyperlink id="hlSongName2" runat="server"></asp:hyperlink>
																	<asp:HyperLink id="hlSongName3" runat="server"></asp:HyperLink>
																</div></td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td class="small"><img src="images/spacer.gif" width="100%" height="5"></td>
									</tr>
									<tr>
										<td valign="top" align="left">
											<table cellSpacing="0" cellPadding="0" width="419" border="0">
												<tr>
													<td>
														<table cellSpacing="0" cellPadding="0" width="419" border="0" class="member_page_title_in">
															<tr>
																<td width="300"><%=memberNameOwner%> <font class="dynamic_number"><%=sfriendsCount%></font> <asp:Label id="lblFriends" runat="server">Friends</asp:Label></td>
																<td align="right" valign="top" class="member_page_title_in"><asp:hyperlink id="hlSeeAllFriendsUp" runat="server" NavigateUrl="../see_all_friends.aspx">See all friends &gt;</asp:hyperlink></td>
															</tr>
														</table>
													</td>
												</tr>									
												<tr>
													<td align="center" valign="top">
														<table class="member_table_border_transparent" border="0" cellpadding="0" cellspacing="0" width="417">								
															<tr>
																<td class="member_main_text">
																	<asp:label id="lblNoFriends" runat="server" Visible="False">The user has not registered any mates yet. </asp:label>
																	<asp:table id="tblFriends" runat="server" border="0" width="417" cellpadding="0" cellspacing="0">
																		<asp:TableRow VerticalAlign="Top">
																			<asp:TableCell VerticalAlign="Top"><div class="member_right_padding">
																				<asp:datalist id="dlAllFriends" border="0" runat="server" CellPadding="0" Width="100%" RepeatColumns="4" HorizontalAlign="Left" BorderWidth="0px" ShowHeader="False" ShowFooter="False" RepeatDirection="Horizontal">
																					<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" width="25%"></ItemStyle>
																					<ItemTemplate>
																						<table cellspacing="0" cellpadding="0" border="0" class="member_main_text">
																							<tr>
																								<td style="padding-left: 0px;" align="center"><b><asp:HyperLink id="hlName" cssclass="member_main_text" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' NavigateURL='<%# DataBinder.Eval(Container.DataItem, "FriendItemURL") %>' /></b></td>
																							</tr>
																							<tr>
																								<td height="100px;" valign="top" align="center">
																									<asp:HyperLink id="hlPhoto" runat="server" CssClass="member_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' NavigateURL='<%# DataBinder.Eval(Container.DataItem, "FriendItemURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "FullName") %>'></asp:HyperLink>
																									<img src="images/spacer.gif" height="3" width="1"><br/><asp:image id="imgOnline" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' ></asp:image>
																								</td>
																							</tr>
																							<tr>
																								<td CssClass="small" height="4"><img src="images/spacer.gif" border="0"></td>								
																							</tr>																	
																						</table>															
																					</ItemTemplate>
																				</asp:datalist>
																			</asp:TableCell>
																		</asp:TableRow>
																	</asp:table>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td class="small"><img src="images/spacer.gif" width="100%" height="5"></td>
									</tr>
									<tr>
										<td valign="top" align="left">
											<table cellSpacing="0" cellPadding="0" width="419" border="0">
												<tr>
													<td align="left">
														<table border="0" cellpadding="0" cellspacing="0" width="419" class="member_page_title_in">
															<tr>
																<td rowspan="2" width="230"><b><%=memberNameOwner%> <asp:Label id="lblFriendsComments" runat=server> Friends Comments</asp:label></b>&nbsp;</td>
																<td align="right" valign="top" class="member_page_title_in"><asp:hyperlink id="hlViewMoreComments" runat="server">View all</asp:hyperlink><asp:Label id="lblLine" runat="server" style="padding:0px;margin:0px;font-size:12px;">&nbsp;|&nbsp;</asp:Label><asp:hyperlink id="hlAddComment2" runat="server">Add Comments &gt;</asp:hyperlink></td>
															</tr>
															<tr>
																<td align="right" valign=top class="member_listing_comments"><asp:label id="lblNumComments" runat=server>&nbsp;</asp:label></td>
															</tr>
														</table>
													</td>
												</tr>									
												<tr>
													<td class="member_table_border_transparent" align="left" valign="top" width="100%">
														<table border="0" cellpadding="0" cellspacing="0" width="410">
															<tr>
																<td align="left" Class="member_main_text"><asp:label id="lblNoComments" runat="server" Visible="False">There are no comments posted.</asp:label>
																	<div class="member_right_padding">
																	<ASP:DATAGRID id="dgMessages" runat="server" Width="100%" AutoGenerateColumns="False" GridLines="None" PageSize="100" PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages" ShowHeader="false" ShowFooter="false" Cellpadding=0 Cellspacing=0>
																		<ItemStyle CssClass="members_data_grid" VerticalAlign="Top"></ItemStyle>
																		<Columns>
																			<asp:TemplateColumn>
																				<HeaderStyle Width="20%"></HeaderStyle>
																				<ItemStyle CssClass="col_image" VerticalAlign="Top" HorizontalAlign="Center"></ItemStyle>
																				<ItemTemplate>
																					<asp:hyperlink id=hlSenderImage runat="server" CssClass="member_image" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' ImageUrl='<%# DataBinder.Eval(Container.DataItem, "SenderImageURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>'>Image</asp:hyperlink><br>
																					<asp:image id="imgOnlineComment" runat="server" imageurl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>'></asp:image>																		
																				</ItemTemplate>																	
																			</asp:TemplateColumn>
																			<asp:TemplateColumn>
																				<HeaderStyle Width="70%"></HeaderStyle>
																				<ItemStyle VerticalAlign="Top" CssClass="padding_right"></ItemStyle>
																				<ItemTemplate>																	
																					<asp:hyperlink id=hlSenderName runat="server" CssClass="member_main_text" font-bold="true" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' Text='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>'></asp:hyperlink>&nbsp;&nbsp; 
																					<asp:label id=lblDate runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Date") %>'></asp:label>
																					<br><br>
																					<pre wrap style="word-wrap:break-word"><asp:literal id=litComment runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Comment") %>'></asp:literal></pre><br />
																					<asp:linkbutton id=lbReject runat="server" cssclass="member_main_text_bold" font-bold="True" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Reject" visible='<%# DataBinder.Eval(Container.DataItem, "FooterSpaceVisibility") %>' >
																						<%# DataBinder.Eval(Container.DataItem, "RejectText") %>
																					</asp:linkbutton> 
																					<asp:linkbutton id=lbApprove runat="server" font-bold="True" cssclass="member_main_text" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Approve" visible='<%# DataBinder.Eval(Container.DataItem, "ButtonsVisibility") %>'>Approve</asp:linkbutton>
																					<asp:label id="lblFooterSpace" runat="server" text='<br>' visible='<%# DataBinder.Eval(Container.DataItem, "FooterSpaceVisibility") %>' ></asp:label>
																				</ItemTemplate>																
																			</asp:TemplateColumn>
																		</Columns>
																		<PagerStyle HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
																	</ASP:DATAGRID></div>
																</td>
															</tr>
															<tr>
																<td class="view_all">&nbsp;<asp:hyperlink id="hlViewAllComments" runat="server">View All</asp:hyperlink> <asp:Label id="lblCommentsLine" runat=server>|</asp:Label> <asp:hyperlink id="hlAddComment3" runat="server">Add Comments</asp:hyperlink><br><img src="images/spacer.gif" width="1" height="6" /></td>
															</tr>
														</table>
													</td>
												</tr>									
												<tr>
													<td class="small" height="100%"></td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
</form>
